package com.turing.usdtpay.mvp.contract;

import android.app.Activity;

import com.turing.usdtpay.mvp.presenter.BasePresenter;
import com.turing.usdtpay.mvp.view.BaseView;

/**
 * @作者：JAY
 * @创建时间：2019/10/29 12:03
 * @描述：
 **/
public class PhoneContract {

    public interface View extends BaseView<Present> {
        public void sendSuccess();

        public void bindSuccess();

        public void unbindSuccess();

        public void getSuccess(String phone);

        public void onFail(String msg);
    }

    public interface Present extends BasePresenter {
        public void sendBindCode(Activity activity,String phone);

        public void sendUnbindCode(Activity activity,String phone);

        public void bind(Activity activity,String phone,String code);

        public void unbind(Activity activity,String phone,String code);

        public void getPhone(Activity activity);
    }
}
